public class Test {
    public static void main(String[] args) {
    MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(2);
        myLinkedList.addLast(1);
        myLinkedList.display();
        myLinkedList.revise(1,100);
        myLinkedList.revise(1,888);

      myLinkedList.display();
    }
}
